<?php
/**
 * Created by PhpStorm.
 * User: sunshubo
 * Date: 2017/12/12
 * Time: 9:57
 */

class JoinActiveInfo_model extends MY_Model
{
    function join_info($body)
    {
        $phone = $body->data->phone;
        $name = $body->data->name;
        $aid = $body->data->aid;
        $table = 'ws_active_record';
        return $this->my_insert($table, array('name' => $name, 'aId' => $aid, 'phone' => $phone));
    }
}